package com.rick.shiro.service.impl;

import com.rick.shiro.entity.User;
import com.rick.shiro.mapper.UserMapper;
import com.rick.shiro.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/********************************************************
 *@Desc:
 *@Author: ZRP
 *@Date: 2017/12/22 10:42
 ********************************************************/
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User findUserByUserName(String userName) {
        return userMapper.findByUserName(userName);
    }
}
